﻿namespace Umi.Web.Metadatas.Configurations
{
    /// <summary>
    /// Email服务端配制
    /// </summary>
    public class EmailSmtpServerConfiguration
    {
        /// <summary>
        /// Smtp服务器地址
        /// </summary>
        public string SmtpServer { get; set; }

        /// <summary>
        /// Smtp服务器端口
        /// </summary>
        public int SmtpPort { get; set; }

        /// <summary>
        /// 账号
        /// </summary>
        public string Account { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 发送方邮件
        /// </summary>
        public string From { get; set; }

        /// <summary>
        /// 邮件显示名称
        /// </summary>
        public string Alias { get; set; }

        /// <summary>
        /// 是否使用SSL
        /// </summary>
        public bool UseSSL { get; set; }
    }
}
